package com.zhxs.websocket;

public class RequestData<T> {
    public static final int AUDIO_STOP_RECORD_PLAY = 0;
    public static final int AUDIO_START_RECORD_PLAY = 1;
    public static final int WEB_SOCKET_HEART = 2;
    public static final int WEB_SOCKET_HEART_CLIENT = 3;
    public static final int WEB_SOCKET_WARN = 5;
    public static final int WEB_SOCKET_PICTURE_MSG = 8;
    public static final int WEB_SOCKET_TEXT_MSG = 9;
    public static final int WEB_SOCKET_HIGH_TEMP = 10;

    private int code;
    private T message;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public T getMessage() {
        return message;
    }

    public void setMessage(T data) {
        this.message = data;
    }
}
